package com.centit.framework.ip.templateFile.service.impl;

import java.util.Map;
import com.alibaba.fastjson.JSONArray;
import com.centit.support.database.utils.PageDesc;
 
import com.centit.framework.jdbc.service.BaseEntityManagerImpl;




import com.centit.framework.ip.templateFile.po.VersionFile;
import com.centit.framework.ip.templateFile.dao.VersionFileDao;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.centit.framework.ip.templateFile.service.VersionFileManager;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.annotation.Propagation;
/**
 * VersionFile  Service.
 * create by scaffold 2018-06-05 
 * @author codefan@sina.com
 * 金格文书版本信息金格文书版本信息   
*/
@Service
public class VersionFileManagerImpl 
		extends BaseEntityManagerImpl<VersionFile,java.lang.String,VersionFileDao>
	implements VersionFileManager{

	public static final Log log = LogFactory.getLog(VersionFileManager.class);

	
	private VersionFileDao versionFileDao ;
	
	@Resource(name = "versionFileDao")
    @NotNull
	public void setVersionFileDao(VersionFileDao baseDao)
	{
		this.versionFileDao = baseDao;
		setBaseDao(this.versionFileDao);
	}
	
/*
 	@PostConstruct
    public void init() {
        
    }
 	
 */
	@Override
    @Transactional(propagation=Propagation.REQUIRED) 
	public JSONArray listVersionFilesAsJson(
            String[] fields,
            Map<String, Object> filterMap, PageDesc pageDesc){
			
		  return null;
	}
	
}

